package com.snda.resource.service.transfer.biz.app;

import com.snda.commons.servicegate.annotations.Endpoint;
import com.snda.commons.servicegate.annotations.Param;
import com.snda.commons.servicegate.annotations.Service;
import com.snda.relation.service.opensocial.GetResponse;
import com.snda.relation.service.opensocial.UpdateResponse;
import com.snda.resource.service.transfer.dal.domain.ListApp;

@Service(value = "AppService")
public interface AppService {
	@Endpoint
	public GetResponse<ListApp> getApp(
			@Param(value = "appId") Long appId);
	@Endpoint
	public UpdateResponse addApp(
			@Param(value = "appId") Long appId,
			@Param(value = "appName") String appName);
	
	@Endpoint 
	public UpdateResponse deleteApp(
			@Param(value = "appId") Long appId);
	
	@Endpoint
	public UpdateResponse updateApp(
			@Param(value = "appId") Long appId,
			@Param(value = "appName") String appName);

}
